<template>
    <div class="dataEdit">
        <!-- 左页 -->
        <div class="leftPage">
            <p>基本信息</p>
            <div class="head">
               <div class="headerPicture">
                   <img src="../../assets/手持身份证.png" alt=""  width="120px" height="150px">
                   <span>上传头像</span>
               </div>
               <div class="text">(如您是老师，头像每个月只能修改一次)</div>
            </div>
            <div class="nickname">
                <span>昵称 :</span>
                <input type="text">
            </div>
            <div class="sex">
                <span>性别 :</span>
                <el-radio v-model="radio" label="1">男</el-radio>
                <el-radio v-model="radio" label="2">女</el-radio>
            </div>
            <div class="site">
                <span>地址 :</span>
                <input type="text" class="choice">
                <input type="text" class="litter" placeholder="街道名称或小区名称">
            </div>
            <div class="goodGrades">
              <span>擅长分数 :</span>
              <el-select v-model="value" placeholder="请选择">
                <el-option v-for="item in options" :key="item.value"  :label="item.label"  :value="item.value">
                </el-option>
              </el-select>
              <hr width="30px" />
               <el-select v-model="value" placeholder="请选择">
                <el-option v-for="item in option" :key="item.value"  :label="item.label"  :value="item.value">
                </el-option>
              </el-select>
              <span>如:擅长教30~60分阶段学生</span>
            </div>
            <div class="educateAge">
              <span>教龄 :</span>
             <input type="text" placeholder="年">
            </div>
            <div class="named" >
              <span>职称 :</span>
             <input type="text" placeholder="年">
            </div>
             <div class="school">
                <span>所在学校 :</span>
                <input type="text" placeholder="填写您在职的学校或机构">
            </div>
            <div class="selfIntroduction ">
                <div class="self">自我介绍 :</div>
                <textarea type="text" class="inputBox" placeholder="填写您在职的学校或机构"></textarea>
            </div>
            <el-row><el-button type="primary" round>完成</el-button></el-row>
        </div>

        <!-- 右页 -->
        <div class="rightPage">
          <p>填写经历</p>
          <div class="top">
            <span>教学经历 :</span>
            <div class="add">
            <img src="../../assets/添加经历.png" alt="">
            <span>添加经历 :</span>
            </div>
          </div>
          <!-- <div class="editBox">
             <textarea class="box"></textarea>
               <div class="btn">
                 <span>删除</span>
                 <span>编辑</span>
             </div> 
          </div> -->
          <!-- <div class="none">
               <textarea class="box">
                 暂无经历
               </textarea>
          </div> -->
          <div class="add">
            <p>添加经历</p>
            <!-- <div class="choice"> -->
            <el-select v-model="value" placeholder="请选择">
                <el-option v-for="item in options" :key="item.value"  :label="item.label"  :value="item.value">
                </el-option>
              </el-select>
              <hr width="30px" />
               <el-select v-model="value" placeholder="请选择">
                <el-option v-for="item in option" :key="item.value"  :label="item.label"  :value="item.value">
                </el-option>
              </el-select>
            <!-- </div> -->
              <textarea class="box" placeholder="请您详细描述您的过往经历......"></textarea>
               <div class="btn">
                 <span>取消</span>
                 <span>保存</span>
             </div> 
          </div>
        </div>
    </div>
</template>

<script>
export default {
  data() {
    return {
      radio: "1",
      value: "",
      options: [
        {
          value: "选项1",
          label: "30"
        },
        {
          value: "选项2",
          label: "40"
        },
        {
          value: "选项3",
          label: "50"
        }
      ],
      option: [
        {
          value: "选项1",
          label: "60"
        },
        {
          value: "选项2",
          label: "70"
        },
        {
          value: "选项3",
          label: "80"
        }
      ],
      value5: [],
      value11: []
    };
  }
};
</script>

<style lang="less">
.dataEdit {
  position: relative;
  .leftPage {
    width: 50%;
    height: 100%;
    > p {
      margin-left: 30px;
      margin-top: 30px;
      display: inline-block;
      font-weight: 700;
      font-size: 18px;
      color: #399bff;
      padding-bottom: 10px;
      border-bottom: 3px solid #399bff;
    }
    .head {
      margin-left: 30px;
      margin-top: 30px;
      position: relative;
      .headerPicture {
        > span {
          font-size: 14px;
          color: #ffffff;
          position: absolute;
          left: 30px;
          top: 120px;
          z-index: 999;
          //   width: 120px;
          //   height: 30px;
          //   background-color: #000;
          //    opacity:0.3;
        }
      }
      .text {
        font-size: 14px;
        color: #999999;
        position: absolute;
        left: 130px;
        top: 50%;
        transform: translateY(-50%);
      }
    }
    .nickname {
      margin-top: 40px;
      margin-left: 50px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > input {
        height: 40px;
        width: 450px;
        border: 1px solid #cccccc;
        padding-left: 10px;
      }
    }
    .sex {
      margin-top: 40px;
      margin-left: 50px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      .el-radio {
        font-size: 14px;
        color: #232323;
      }
    }
    .site {
      margin-top: 40px !important;
      margin-left: 50px !important;
      height: auto !important;
      text-align: left !important;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > input {
        height: 40px;
        width: 450px;
        border: 1px solid #cccccc;
        padding-left: 10px;
        display: inline-block;
      }
      .litter {
        margin-top: 12px;
        margin-left: 50px;
        font-size: 14px;
        color: #cccccc;
        text-indent: 8px;
      }
    }
    
    .goodGrades {
      margin-top: 40px;
      margin-left: 23px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > hr {
        display: inline-block;
        margin-left: 8px;
        margin-right: 8px;
      }
      .el-input--suffix {
        height: 40px;
        width: 130px;
        border: 1px solid #cccccc;
      }
      > span:nth-child(5) {
        margin-left: 10px;
      }
      input::-webkit-input-placeholder {
        color: #232323;
        text-align: left;
      }
      input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: #232323;
        text-align: left;
      }
      input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: #232323;
        text-align: left;
      }
      input:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: #232323;
        text-align: left;
      }
    }
    .educateAge {
      margin-top: 40px;
      margin-left: 50px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > input {
        height: 40px;
        width: 200px;
        border: 1px solid #cccccc;
        padding-left: 10px;
      }
      input::-webkit-input-placeholder {
        text-indent: 160px;
      }
      input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        text-indent: 160px;
      }
      input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        text-indent: 160px;
      }
      input:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        text-indent: 160px;
      }
    }
    .named {
      margin-top: 40px;
      margin-left: 50px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > input {
        height: 40px;
        width: 200px;
        border: 1px solid #cccccc;
        padding-left: 10px;
      }
      input::-webkit-input-placeholder {
        text-indent: 160px;
      }
      input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        text-indent: 160px;
      }
      input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        text-indent: 160px;
      }
      input:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        text-indent: 160px;
      }
    }
    .school {
      margin-top: 40px;
      margin-left: 23px;
      > span {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
      }
      > input {
        height: 40px;
        width: 450px;
        border: 1px solid #cccccc;
        text-indent: 10px;
      }
    }
    .selfIntroduction {
      margin-top: 40px;
      margin-left: 23px;
      .self {
        font-size: 14px;
        color: #999999;
        padding-right: 10px;
        margin-top: 15px;
        float: left;
      }
      .inputBox {
        height: 200px;
        width: 450px;
        border: 1px solid #cccccc;
        text-indent: 10px;
        padding-top: 10px;
      }
    }
    .el-button--primary {
      width: 240px;
      height: 40px;
      border-radius: 40px;
      float: left;
      margin-top: 45px;
      margin-left: 30%;
      > span {
        font-size: 14px;
        color: #ffffff;
      }
    }
  }
  .rightPage {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 30px;
    left: 50%;
    > p {
      margin-left: 30px;
      margin-top: 30px;
      display: inline-block;
      font-weight: 700;
      font-size: 18px;
      color: #399bff;
      padding-bottom: 10px;
      border-bottom: 3px solid #399bff;
    }
    .top {
      margin-left: 30px;
      margin-top: 30px;
      > span {
        font-size: 14px;
        color: #999999;
      }
      .add {
        float: right;
        margin-right: 40px;
        > img {
          vertical-align: middle;
        }
        > span {
          font-size: 14px;
          color: #399bff;
          padding-left: 12px;
        }
      }
    }
    .editBox {
      margin-left: 100px;
      margin-right: 40px;
      margin-top: 20px;
      position: relative;
      > textarea {
        width: 100%;
        height: 280px;
        background-color: #f8f8f8;
        padding-right: 40px;
        font-size: 14px;
        color: #232323;
        padding-top: 30px;
        padding-left:30px;
        padding-right: 80px;
      }
      > .btn {
        width: 100%;
        position: absolute;
        bottom: 0;
        > span:nth-child(1) {
          width: 50%;
          height: 40px;
          background-color: #e5e5e5;
          opacity: 80%;
          font-size: 14px;
          color: #999999;
          display: block;
          text-align: center;
          line-height: 40px;
          float: left;
        }
        > span:nth-child(2) {
          display: block;
          width: 50%;
          height: 40px;
          background-color: #399bff;
          opacity: 80%;
          font-size: 14px;
          color: #ffffff;
          text-align: center;
          line-height: 40px;
          float: left;
        }
      }
    }
    .none {
      margin-left: 100px;
      margin-right: 40px;
      margin-top: 20px;
      position: relative;
      > textarea {
        width: 100%;
        height: 280px;
        background-color: #f8f8f8;
        padding-right: 40px;
        font-size: 14px;
        color: #232323;
        line-height: 280px;
        text-align: center;
      }
    }
    .add{
      margin-left: 100px;
      margin-right: 40px;
      margin-top: 20px;
      position: relative;
      >p{
        font-size: 14px;
        color: #232323;
        margin-top: 12px;
        text-align:center ;
      }
      // .choice{
      //   //  padding-left:100px ;
      //   // position: absolute;
      //   // left: 50%;
 
      // }
      > hr {
        display: inline-block;
        margin-left: 8px;
        margin-right: 8px;
      }
       .el-input--suffix {
        height: 40px;
        width: 130px;
        border: 1px solid #cccccc;
        margin-top: 12px;
        margin-bottom:15px;
      //  display: flex;
      //  justify-content: space-around;
      }
      input::-webkit-input-placeholder {
        color: #232323;
        text-align: left;
      }
      input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: #232323;
        text-align: left;
      }
      input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: #232323;
        text-align: left;
      }
      input:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: #232323;
        text-align: left;
      }
      > textarea {
        width: 100%;
        height: 280px;
        background-color: #f8f8f8;
        padding-right: 40px;
        font-size: 14px;
        color: #232323;
        padding-top: 30px;
        padding-left:30px;
        padding-right: 80px;
      }
      > .btn {
        width: 100%;
        position: absolute;
        bottom: 0;
        > span:nth-child(1) {
          width: 50%;
          height: 40px;
          border: 1px solid #e5e5e5;
          background-color:#ffffff ;
          font-size: 14px;
          color: #999999;
          display: block;
          text-align: center;
          line-height: 40px;
          float: left;
        }
        > span:nth-child(2) {
          display: block;
          width: 50%;
          height: 40px;
          border: 1px solid #e5e5e5;
          background-color: #ebf3fb;
          font-size: 14px;
          color: #399bff;
          text-align: center;
          line-height: 40px;
          float: left;
        }
      }
    }
  }
}
</style>

